/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * All Rights Researved.
 *
 * This library is developed and distributed for free usage,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * You can redistribute and/or modify it under the terms of the
 * Simplified BSD License
 *
 *
 *
 *
 *
 *
 *
 * Description of data
 * @Original Author: jin Chen
 * @date: Apr 5, 2004$
 * @version: 1.0
 */
package edu.psu.geovista.app.dataloader.v1.session;

import java.util.Enumeration;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Properties;

public class DataInfo {
    private boolean projected;
    private Properties datapaths=new Properties();
    private HashSet selectAttributes;
    private Hashtable timevalues;

    public boolean isProjected() {
        return projected;
    }

    public void setProjected(boolean projected) {
        this.projected = projected;
    }

    public Properties getDatapaths() {
        return datapaths;
    }

    public void setDatapaths(Properties datapaths) {
        this.datapaths = datapaths;
    }
    public void addPaths(Properties paths)  {
        Enumeration names= paths.keys();
        while (names.hasMoreElements()) {
            String name = (String) names.nextElement();
            String path=paths.getProperty(name);
            this.datapaths.setProperty(name,path);

        }

    }
    public HashSet getSelectAttributes() {
        return selectAttributes;
    }

    public void setSelectAttributes(HashSet selectAttributes) {
        this.selectAttributes = selectAttributes;
    }

    public Hashtable getTimevalues() {
        return timevalues;
    }

    public void setTimevalues(Hashtable timevalues) {
        this.timevalues = timevalues;
    }
}
